//
//  JiaoyiTableViewCell.m
//  盘盈贷
//
//  Created by iOS on 15/3/24.
//  Copyright (c) 2015年 Yunpeng Technologies. All rights reserved.
//

#import "JiaoyiTableViewCell.h"

@implementation JiaoyiTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.caozuotime = [[UILabel alloc] init];
        [self.contentView addSubview:self.caozuotime];
        [self.caozuotime release];
        self.caozuotime1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.caozuotime1];
        [self.caozuotime1 release];
        
        self.zhuangtai = [[UILabel alloc] init];
        [self.contentView addSubview:self.zhuangtai];
        [self.zhuangtai release];
        
        self.zhuangtai1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.zhuangtai1];
        [self.zhuangtai1 release];
        self.yue = [[UILabel alloc] init];
        [self.contentView addSubview:self.yue];
        [self.yue release];
        self.yue1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.yue1];
        [self.yue1 release];
        self.mingchen = [[UILabel alloc] init];
        [self.contentView addSubview:self.mingchen];
        [self.mingchen release];
        self.mingchen1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.mingchen1];
        [self.mingchen1 release];
        
        self.shouzhi = [[UILabel alloc] init];
        [self.contentView addSubview:self.shouzhi];
        [self.shouzhi release];
        self.shouzhi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.shouzhi1];
        [self.shouzhi1 release];
        self.name = [[UILabel alloc] init];
        [self.contentView addSubview:self.name];
        [self.name release];
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
   

//    self.zhuangtai.frame = CGRectMake(13, 60, 50, 20);
//    self.zhuangtai.font = [UIFont systemFontOfSize:14];
//    self.zhuangtai.text = @"状态";
//    self.zhuangtai.textColor = [UIColor grayColor];
//    self.zhuangtai1.font = [UIFont systemFontOfSize:14];
//    self.zhuangtai1.frame = CGRectMake(60, 60, 70, 20);
//    self.zhuangtai1.textColor = [UIColor orangeColor];

//    
//
    
    self.name.frame = CGRectMake(25, 10, 120, 40);
    self.name.textColor = [UIColor orangeColor];
    self.name.font = [UIFont fontWithName:@"Helvetica-Bold" size:20];
    self.name.text = @"众筹拍房";
    
    self.mingchen.frame = CGRectMake(25, 55, 60, 20);
    self.mingchen.font = [UIFont systemFontOfSize:14];
    self.mingchen.textColor = [UIColor grayColor];
    self.mingchen.text = @"类型 :";
    self.mingchen1.font = [UIFont systemFontOfSize:14];
    self.mingchen1.frame = CGRectMake(65, 55, 120, 20);
    self.mingchen1.textColor = [UIColor grayColor];

    self.yue.frame = CGRectMake(185, 20, 120, 20);
    self.yue.font = [UIFont fontWithName:@"Helvetica-Bold" size:16];
    self.yue.textColor = [UIColor blackColor];
    
    
    self.caozuotime.frame = CGRectMake(185, 55, 120, 20);
    self.caozuotime.font = [UIFont systemFontOfSize:14];
    self.caozuotime.textColor = [UIColor grayColor];
   
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
